#include <string>
#include <iostream>
#include "verify_shared_lib.hpp"

using namespace std;

bool UseStringInLib(any value) {
    string local = any_cast<string>(value);
    cout<<"SUCCESS: UseStringInLib " << local << endl;
    return true;
}
bool UseStringRefInLib(const any& value) {
    string local = any_cast<string>(value);
    cout<<"SUCCESS: UseStringRefInLib " << local << endl;
    return true;
}
bool GetStringInLib(any& value) {
    string local = "string in lib.";
    value = local;
    return true;
}
string GetStringRetInLib() {
    string local = "string ret in lib.";
    return local;
}
bool UseIntInLib(any value) {
    int local = any_cast<int>(value);
    cout<<"SUCCESS: UseIntInLib " << local << endl;
    return true;
}
